XIQS Create Port Group

From IQsimWiki

Jump to: navigation, search

XIQS Create Port Group - Port Group Management

Description
createXIQSPortGroup ( String group_name [, Integer simultaneous_connections ] [, Long id_partition ] )

Since 1.4.0
createXIQSPortGroup ( String group_name, Integer simultaneous_connections [, Long asralert, Long asrsleep, Long acdalert, Long acdsleep, Long monitorcallnb, Long sleeptime, Long maxsleep [, Long mode, Long country_id [, String country_list]]][, Long id_partition ] )

Create a new port group object and return ID assigned to it.
Parameters

String group_name

Name of the new port group object.

Integer simultaneous_connections

Maximal number of simultaneous connections to ports belonging to the created port group object (default 20).
(mandatory for administrator).

Long asralert

ASR Alert Level.

Long asrsleep

ASR Sleeping Level.

Long acdalert

ACD Alert Level.

Long acdsleep

ACD Sleeping Level.

Long monitorcallnb

Window Monitoring Calls.

Long sleeptime

GSM Port Sleeping Time (min).

Long maxsleep

Deactivate GSM port on successive sleeping.

Long mode

GSM Port Group mode ( 0 - static, 1 - dynamic ).

Long country_id

CountryID (should be 1000 if uses multi country - see parameter country_list.

String country_list

Comma separated list of country ids which creates dynamic port group. 

Long id_partition

Id of the partition which refers to the created port group object.
(mandatory for administrator, ignored for ordinary users)
Return Values
Long id
Id of the created port group object.


Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJECT_EXISTS (451) ERR_MSG_PGRP_NAME_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSPortGroupList

updateXIQSPortGroup

deleteXIQSPortGroup

getXIQSPortGroupMapList

mapXIQSPortGroup

unmapXIQSPortGroup

getXIQSDevicePortMap

clearXIQSPortGroupMap

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List